package com.eastfair.pay.enums;

import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * 退款审核状态
 * @author Du Xiaobo
 * @date 2023/4/23 11:40
 */
@Getter
@NoArgsConstructor
@ApiModel(value = "RefundExamineStateEnum", description = "退款审核状态")
public enum RefundExamineStateEnum {

    APPLIED("APPLIED", "已申请"),
    AUTH_FAIL("AUTH_FAIL", "被驳回"),
    AUTH("AUTH", "退款中"),
    AUTH_SUCESS("AUTH_SUCESS", "已退款"),
    AUTH_ERROR("AUTH_ERROR","退款失败"),
    ;

    private String code;

    private String text;

    RefundExamineStateEnum(String code, String text) {
        this.code = code;
        this.text = text;
    }

}
